import { ref,onMounted } from "vue";

export default function useDog() {
    let sum = ref(0);

    const increment = ()=>{
        sum.value +=1;
    }

    onMounted(
        ()=>{
            sum.value +=100;
        }
    )

    return {sum,increment}
}